/*
 * Stop.cpp
 *
 *  Created on: Mar 20, 2012
 *      Author: shamirsy
 */

#include "Stop.h"

//start the behavoir condition
bool Stop::startCond()
{
	return true;
}

//stop behavior condition
bool Stop::stopCond()
{
	return true;
}

//stop the robot movment
void Stop::action()
{
	this->_robot->setSpeed(-this->_robot->getSpeed(),0);
}

Stop::~Stop() {

}
